﻿@model ITS.Core.ViewModel.Contents.AddContentItemDescriptionViewModel
<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm("AddContentItemDescription_Post", "Content", null, FormMethod.Post, new { enctype = "multipart/form-data", id = "AddContentItemDescriptionForm" }))
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>AddContentItemDescriptionViewModel</legend>
        @Html.HiddenFor(model => model.ContentID)
        <div class="editor-label">
            @Html.LabelFor(model => model.LanguageID)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.LanguageID, Model.SupportedLanguages)
            @Html.ValidationMessageFor(model => model.LanguageID)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Title)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Title)
            @Html.ValidationMessageFor(model => model.Title)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Content)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Content)
            @Html.ValidationMessageFor(model => model.Content)
        </div>
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}
